package com.lzf.yh.dao;

import com.lzf.yh.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShoppingCart record);

    int insertSelective(ShoppingCart record);

    ShoppingCart selectByPrimaryKey(Integer id);

    ShoppingCart selectOneShoppingCartByGuitarnameAndUserid(ShoppingCart shoppingCart);

    List<ShoppingCart> selectAllShoppingCart(Integer userid);

    int updateByPrimaryKeySelective(ShoppingCart record);

    int updateByPrimaryKey(ShoppingCart record);
}